package com.itheima.dao;

import com.github.pagehelper.Page;
import com.itheima.pojo.Setmeal;

import java.util.List;
import java.util.Map;

public interface SetmealDao {
    public void add(Setmeal setmeal);

    public void setSetmealAndCheckgroup(Map<String, Integer> map);

    public Page<Setmeal> findByCondition(String queryString);

    void deleteBygroup(Integer id);

    void delete(Integer id);

    Setmeal findById(Integer id);

    List<Setmeal> findAll();

    List<Integer> findCheckItemIdsByCheckGroupId(Integer id);

    void deleteAssociation(Integer id);

    void setCheckGroupAndCheckItem(Map<String, Integer> map);

    void edit(Setmeal setmeal);

    List<Setmeal> getAllSetmeal();

    Setmeal findByIdSetmeal(Integer id);
}
